package com.shop.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.admin.entity.ShopCategory;
import com.shop.admin.utils.PageUtils;
import com.shop.admin.vo.CateOrderListVo;
import com.shop.admin.vo.CategoryVo;

import java.util.List;
import java.util.Map;

public interface ShopCategoryService extends IService<ShopCategory> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryVo> queryPageByCate(Map<String, Object> params);

    void updateCascade(ShopCategory category);

    List<CateOrderListVo> selectOrderList(Long cateId);

    void removeCategoryByIds(List<Long> asList);

    ShopCategory selectById(Integer catelogId);

    boolean selectBoolean(String cateName,Integer orgId);

}
